<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>成员信息管理</title>
		<link rel="stylesheet" href="css/bootstrap.css" />
		<script type="text/javascript" src="js/jquery-2.0.3.js" ></script>
		<script type="text/javascript" src="js/bootstrap.js" ></script>
		<script src="layui/layui.js" charset="utf-8"></script>
		<link rel="stylesheet" href="layui/css/layui.css" media="all">
<<<<<<< HEAD
		<style>
			#maindiv{
				position: absolute;
				top:0;
				bottom: 0;
				left: 0;
				right: 0;
				background-image: radial-gradient(#9dbdb3,#37b9e9);
			}
		</style>
	</head> 
	<body>
		<div id="maindiv">
						<div class="container">
				<div class="row clearfix">
					<div class="col-md-4 column">
							<div class="input-group" style="margin-top: 50px;">
		  						<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></span>
		  						<input type="text" class="form-control" placeholder="学号" aria-describedby="basic-addon1" >
							</div>
					</div>
					<div class="col-md-4 column">
							<div class="input-group" style="margin-top: 50px;">
		  						<span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-home" aria-hidden="true"></span></span>
		  						<input type="text" class="form-control" placeholder="学院" aria-describedby="basic-addon2" >
							</div>
					</div>
					<div class="col-md-4 column">
						<div style="margin-top: 50px;"> 
						</div>
						<div class="row clearfix" >
							<div class="col-md-6 column" >
								<button type="button" id="search"class="btn btn-default btn-block btn-success">查找</button>
							</div>
							<div class="col-md-6 column" >
								<button type="button" id="search"class="btn btn-default btn-block ">取消</button>
							</div>
						</div>
		
					</div>
				</div>
				<div style="margin-top: 20px;">
					<div class="row" >
							<div class="col-md-2 column">
								<button type="button" id="adduser"class="btn btn-default btn-block btn-success">添加</button>
							</div>
							<div class="col-md-2 column">
								<button type="button" id="adduser"class="btn btn-default btn-block ">批量操作</button>
							</div>
							<div class="col-md-2 column">
								<div class="btn-group">
									 <button class="btn btn-default">更多操作</button> <button data-toggle="dropdown" class="btn btn-default dropdown-toggle"><span class="caret"></span></button>
									<ul class="dropdown-menu">
										<li>
											 <a href="#">删除</a>
										</li>
										<li>
											 <a href="#">修改</a>
										</li>
									</ul>
								</div>
							</div>
					</div>
				</div>
				<div class="row clearfix">
					<div style="margin-top: 20px;"></div>
				
					<div class="col-md-12 column">
						<div style="background-color: lightgray; height: 30px; border: solid lightgray; border-radius: 7px; ">
							提示信息
						</div>
					</div>
				</div>
				<div style="margin-top: 10px;"></div>
				<div class="row clearfix">
					<div class="col-md-12 column">
					<div class="table-responsive" style="height:600px; background-color: white;border-top-left-radius:5px;border-top-right-radius:5px;">
						<table class="table table-striped">
							<thead>
								<tr>
									<th>
										学号
									</th>
									<th>
										姓名
									</th>
									<th>
										性别
									</th>
									<th>
										年龄
									</th>
									<th>
										班级
									</th>
									<th>
										学院
									</th>
									<th>
										信誉值
									</th>
								</tr>
							</thead>
							<tbody>
							<c:forEach items="${pageData.data }" var = "pd">
								<tr>
								<td><input type="checkbox" name = "userid" value="${pd.student.getSno()}"/>${pd.student.getSno()}</td>
								<td>${pd.student.getSname()}</td>
								<td>${pd.student.getSsex()}</td>
								<td>${pd.student.getSage()}</td>
								<td>${pd.student.getSclass()}</td>
								<td>${pd.student.getSacademy()}</td>
								<td>${pd.getCredibility()}</td>
								<tr>
							</c:forEach>
							</tbody>
						</table>			
					  </div>
				  </div>
				</div>
				<div class="row clearfix">
					<div class="col-md-12 column">
						<div style="background-color: white;" align="center">
							<div id="demo7"></div>
						</div>
				</div>
			</div>
		</div>
=======
		
		<!-- Bootstrap core CSS -->
	    <link href="dhcss/bootstrap.min.css" rel="stylesheet">
	    <!-- Additional CSS Files -->
	    <link rel="stylesheet" href="dhcss/fontawesome.css">
	    <link rel="stylesheet" href="dhcss/templatemo-style.css">
	    <link rel="stylesheet" href="dhcss/owl.css">
	    
		<style>
			#main{
				background-image: radial-gradient(#9dbdb3,#37b9e9);
			}
			#maindiv{
				position: absolute;
				top:0;
				bottom: 0;
				left: 0;
				right: 0;
				background-image: radial-gradient(#9dbdb3,#37b9e9);
			}
			.form-control{
				height: 30px;
				margin-left: 0px;
			}
			.input-group-addon{
				width: 50px;
			}
		</style>
	</head> 
	<body>
	
	
<div id="wrapper"> 
	<div id="main">
   		<div class="inner" style="">
   <!-- Header -->
         <header id="header">
           <div class="logo">
           <div class="layui-form">
			    <select name="city" lay-verify="" lay-filter="test" id="select">
			        <option value="">请选择一个教室</option>
			        <option value="101">自习室101</option>
			        <option value="102">自习室102</option>
			        <option value="103">自习室103</option>
			    </select>
			   
			</div>
              <a class="zuowei"  href="http://demo.qfpffmp.cn/cssthemes6/dgmg_38_ramayana/index.html">学生信息</a>
           </div>
         </header>
   
   <section class="tables">
   
		
						<div class="container">
				<div class="row clearfix">
					<div class="col-md-4 column">
							<div class="input-group" style="margin-top: 50px;">
		  						<span class="input-group-addon"  id="basic-addon1"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></span>
		  						<input type="text"  class="form-control" placeholder="学号" aria-describedby="basic-addon1" >
							</div>
					</div>
					<div class="col-md-4 column">
							<div class="input-group" style="margin-top: 50px;">
		  						<span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-home" aria-hidden="true"></span></span>
		  						<input type="text" class="form-control" placeholder="学院" aria-describedby="basic-addon2" >
							</div>
					</div>
					<div class="col-md-4 column">
						<div style="margin-top: 50px;"> 
						</div>
						<div class="row clearfix" >
							<div class="col-md-6 column" >
								<button type="button" style="height: 30px"  id="search"class="btn btn-default btn-block btn-success">查找</button>
							</div>
							<div class="col-md-6 column" >
								<button type="button" style="height: 30px"  id="search"class="btn btn-default btn-block  btn-info">取消</button>
							</div>
						</div>
		
					</div>
				</div>
				<div style="margin-top: 20px;">
					<div class="row" >
							<div class="col-md-2 column">
								<button type="button" style="height: 30px" id="adduser"class="btn btn-default btn-block btn-success">添加</button>
							</div>
							<div class="col-md-2 column">
								<button type="button" style="height: 30px"  id="adduser"class="btn btn-default btn-block ">批量操作</button>
							</div>
							<div class="col-md-2 column">
								<div class="btn-group">
									 <button style="height: 30px"   class="btn btn-default">更多操作</button> <button data-toggle="dropdown" class="btn btn-default dropdown-toggle"><span class="caret"></span></button>
									<ul class="dropdown-menu">
										<li>
											 <a href="#">删除</a>
										</li>
										<li>
											 <a href="#">修改</a>
										</li>
									</ul>
								</div>
							</div>
					</div>
				</div>
				<br>
				<div class="row clearfix">
					<div style="margin-top: 20px;"></div>
				
					<div class="col-md-12 column">
						<div style="background-color: lightgray; height: 30px; border: solid lightgray; border-radius: 7px; ">
							提示信息
						</div>
					</div>
				</div>
				<div style="margin-top: 10px;"></div>
				<div class="row clearfix">
					<div class="col-md-12 column">
					<div class="table-responsive" style="height:350px; background-color: white;border-top-left-radius:5px;border-top-right-radius:5px;">
						<table class="table table-striped">
							<thead>
								<tr>
									<th>
										学号
									</th>
									<th>
										姓名
									</th>
									<th>
										性别
									</th>
									<th>
										年龄
									</th>
									<th>
										班级
									</th>
									<th>
										学院
									</th>
									<th>
										信誉值
									</th>
								</tr>
							</thead>
							<tbody>
							<c:forEach items="${pageData.data }" var = "pd">
								<tr>
								<td><input type="checkbox" name = "userid" value="${pd.student.getSno()}"/>${pd.student.getSno()}</td>
								<td>${pd.student.getSname()}</td>
								<td>${pd.student.getSsex()}</td>
								<td>${pd.student.getSage()}</td>
								<td>${pd.student.getSclass()}</td>
								<td>${pd.student.getSacademy()}</td>
								<td>${pd.getCredibility()}</td>
								<tr>
							</c:forEach>
							</tbody>
						</table>			
					  </div>
				  </div>
				</div>
				<div class="row clearfix">
					<div class="col-md-12 column">
						<div style="background-color: white;" align="center">
							<div id="demo7"></div>
						</div>
				</div>
			</div>
		</div>
		
	</section>	
	</div>
	
	</div>
	<jsp:include page="daohang.jsp"></jsp:include>
</div>
	
	<!-- ssss -->
         <!-- Scripts -->
  <!-- Bootstrap core JavaScript -->

    <script src="dhjs/browser.min.js.下载"></script>
    <script src="dhjs/breakpoints.min.js.下载"></script>
    <script src="dhjs/transition.js.下载"></script>
    <script src="dhjs/owl-carousel.js.下载"></script>
    <script src="dhjs/custom.js.下载"></script>
		
>>>>>>> branch 'master' of https://gitee.com/wzx823570766/BeiJing_Project_Level_Two.git
		<script type="text/javascript">
		//分页
		layui.use(['laypage', 'layer'], function(){
	    	  var laypage = layui.laypage
	    	  ,layer = layui.layer;
	    	//完整功能
	    	  laypage.render({
	    	    elem: 'demo7'
	    	    ,count: ${pageData.totalCount} //总数目
	    	    ,curr:${pageData.page} //当前页
	    	    ,layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip']
	    	    ,jump: function(obj,first){
	    	      //换页的时候
	    	        //首次不执行
	    	      	if(!first){
	    	      		location.href="http://localhost:8080//BeiJing_Project_Level_Two/UserManagerServlet?op=searchAll&page="+obj.curr+"&pageSize="+obj.limit+""
	    	      	}
	    	    	
	    	    }
	    	  });
		});
		
		//添加
		
		</script>
	</body>
</html>
